package com.sso.server.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * @author songyouchao
 * @ClassName GateWayController.java
 * @Description
 * @createTime 2021年09月05日
 */
@Controller
@RequestMapping("gate-way")
public class GateWayController {

    @GetMapping("success")
    @ResponseBody
    public Object success(){
        Map map = new HashMap<>();
        map.put("result","返回成功");
        return map;
    }

}
